package entity

import "time"

type Bag struct {
	ID            int       `gorm:"column:id;PRIMARY_KEY"`
	StoreId       int       `gorm:"column:store_id"`
	Code          string    `gorm:"column:code"`
	BagCategoryId int       `gorm:"column:bag_category_id"`
	State         int       `gorm:"column:state"`
	IsDownload    int       `gorm:"column:is_download"`
	CreatedAt     time.Time `gorm:"column:created_at"`
	UpdatedAt     time.Time `gorm:"column:updated_at"`
}

func (Bag) TableName() string {
	return "l_bag"
}
